package com.xteam.ecsystem.entities;


import java.io.Serializable;

/**
 * 订单与使用券关联表
 * @author tangkf
 * @date 2013-12-04
 */
public class BaseOrderUsingcoupon implements Serializable {
	private static final long serialVersionUID = 1L;


	/**
	 * 类名称
	 */
	public static final String REF="BaseOrderUsingcoupon";

	/**
	 * 关联ID 的属性名
	 */
	public static final String PROP_BOUID="bouId";

	/**
	 * 订单ID 的属性名
	 */
	public static final String PROP_BOUORDER="bouOrder";

	/**
	 * 购物券ID 的属性名
	 */
	public static final String PROP_BOUCOUPON="bouCoupon";

	/**
	 * 购物券金额 的属性名
	 */
	public static final String PROP_BOUPRICE="bouPrice";

	/**
	 * 购物券数量 的属性名
	 */
	public static final String PROP_BOUNUMBER="bouNumber";

	/**
	 * 关联ID
	 */
	private java.lang.String bouId;

	/**
	 * 订单ID
	 */
	private java.lang.String bouOrder;

	/**
	 * 购物券ID
	 */
	private java.lang.String bouCoupon;

	/**
	 * 购物券金额
	 */
	private java.lang.Double bouPrice;

	/**
	 * 购物券数量
	 */
	private java.lang.Integer bouNumber;

	/**
	 * 获取 关联ID 的属性值
	 * @return bouId : 关联ID
	 * @author tangkf
	 */
	public java.lang.String getBouId(){
		return this.bouId;
	}

	/**
	 * 设置 关联ID 的属性值
	 * @param bouId : 关联ID
	 * @author tangkf
	 */
	public void setBouId(java.lang.String bouId){
		this.bouId	= bouId;
	}

	/**
	 * 获取 订单ID 的属性值
	 * @return bouOrder : 订单ID
	 * @author tangkf
	 */
	public java.lang.String getBouOrder(){
		return this.bouOrder;
	}

	/**
	 * 设置 订单ID 的属性值
	 * @param bouOrder : 订单ID
	 * @author tangkf
	 */
	public void setBouOrder(java.lang.String bouOrder){
		this.bouOrder	= bouOrder;
	}

	/**
	 * 获取 购物券ID 的属性值
	 * @return bouCoupon : 购物券ID
	 * @author tangkf
	 */
	public java.lang.String getBouCoupon(){
		return this.bouCoupon;
	}

	/**
	 * 设置 购物券ID 的属性值
	 * @param bouCoupon : 购物券ID
	 * @author tangkf
	 */
	public void setBouCoupon(java.lang.String bouCoupon){
		this.bouCoupon	= bouCoupon;
	}

	/**
	 * 获取 购物券金额 的属性值
	 * @return bouPrice : 购物券金额
	 * @author tangkf
	 */
	public java.lang.Double getBouPrice(){
		return this.bouPrice;
	}

	/**
	 * 设置 购物券金额 的属性值
	 * @param bouPrice : 购物券金额
	 * @author tangkf
	 */
	public void setBouPrice(java.lang.Double bouPrice){
		this.bouPrice	= bouPrice;
	}

	/**
	 * 获取 购物券数量 的属性值
	 * @return bouNumber : 购物券数量
	 * @author tangkf
	 */
	public java.lang.Integer getBouNumber(){
		return this.bouNumber;
	}

	/**
	 * 设置 购物券数量 的属性值
	 * @param bouNumber : 购物券数量
	 * @author tangkf
	 */
	public void setBouNumber(java.lang.Integer bouNumber){
		this.bouNumber	= bouNumber;
	}

	/**
	 * 转换为字符串
	 * @author tangkf
	 */
	public String toString(){
		return "{" + "bouId(关联ID)=" + bouId + "," +"bouOrder(订单ID)=" + bouOrder + "," +"bouCoupon(购物券ID)=" + bouCoupon + "," +"bouPrice(购物券金额)=" + bouPrice + "," +"bouNumber(购物券数量)=" + bouNumber + "}";
	}
	/**
	 * 转换为 JSON 字符串
	 * @author tangkf
	 */
	public String toJson(){
		return "{" + "bouId:'" + bouId + "'," +"bouOrder:'" + bouOrder + "'," +"bouCoupon:'" + bouCoupon + "'," +"bouPrice:'" + bouPrice + "'," +"bouNumber:'" + bouNumber + "'}";
	}
}